{include file="header.tpl" title="$title"}

			<form action="{$form}" method="post" id="accountForm" class="forms">
				<fieldset>
					<legend>Add An Account</legend>
					<label for="FirstName">First Name</label>
					<input id="FirstName" name="FirstName" type="text" />

					<label for="LastName">Last Name</label>
					<input id="LastName" name="LastName" type="text" />

					<label for="Email">Email</label>
					<input id="Email" name="Email" type="text" />

					<label for="PhoneNumber">Phone Number</label>
					<input id="PhoneNumber" name="PhoneNumber" type="text" />

					<label for="Password">Password</label>
					<input id="Password" name="Password" type="text" />

					<input type="submit" id="submit" value="Create this user!" />
				</fieldset>
			</form>

			<div class="title">
				<h2>Last 10 Accounts</h2>
			</div>

			<table class="display">
				<thead>
					<tr>
						<th class="image">Edit</th>
						<th class="image">View</th>
						<th class="person">Name</th>
						<th class="person">Group</th>
						<th class="person">Email</th>
						<th class="person">Phone</th>
						<th class="image">Payments</th>
					</tr>
				</thead>
				<tbody>
				{section name=user loop=$users}
					{strip}
					<tr class="{cycle values="gray,white"}">
						<td class="image"><a href="editAccount.php?id={$users[user].useruid}"><img src="images/user_edit.png" alt="Edit User" /></a></td>
						<td class="image"><a href="account.php?id={$users[user].useruid}"><img src="images/user_{$users[user].gender|lower}.png" alt="Show User" /></a></td>
						<td>{$users[user].name}</td>
						<td>{$users[user].groupname}</td>
						<td><a href="mailto:{$users[user].email|lower}">{$users[user].email|lower}</a></td>
						<td>{$users[user].phonenumber|phone_format}</td>
						<td class="payments">{$users[user].payments}</td>
					</tr>
					{/strip}
				{/section}
				</tbody>
			</table>

{include file="footer.tpl"}
